package org.jeecg.modules.monitoring.j_monitoring.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 备品备件导入类
 * @Author: xiaoyq
 * @Date:   2023-09-11
 * @Version: V1.0
 */
@Data
@TableName("m_part")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="备品备件导入类", description="备品备件导入类")
public class MPartImport implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**备件名称*/
	@Excel(name = "备件名称", width = 15)
    @ApiModelProperty(value = "备件名称")
    private String partName;
	/**型号/配置*/
	@Excel(name = "型号/配置", width = 15)
    @ApiModelProperty(value = "型号/配置")
    private String configuration;
	/**登记数量*/
	@Excel(name = "登记数量", width = 15)
    @ApiModelProperty(value = "登记数量")
    private Integer total;
	/**领用数量*/
//	@Excel(name = "领用数量", width = 15)
    @ApiModelProperty(value = "领用数量")
    private Integer useNum;
	/**剩余数量*/
//	@Excel(name = "剩余数量", width = 15)
    @ApiModelProperty(value = "剩余数量")
    private Integer remainder;
	/**关联合同ID*/
//	@Excel(name = "关联合同ID", width = 15)
    @ApiModelProperty(value = "关联合同ID")
    private String contractId;
	/**关联合同名称*/
//	@Excel(name = "关联合同", width = 15)
    @ApiModelProperty(value = "关联合同名称")
    private String contractName;
	/**创建时间*/
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;


    @TableField(exist = false)
    @ApiModelProperty(value = "领取状态")
    private String useStatus;


}
